import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;


public class Shortcut implements KeyListener {
		
		@Override
		public void keyTyped(KeyEvent e) {}

		 @Override
         public void keyPressed(KeyEvent e) {
             if ((e.getKeyCode() == KeyEvent.VK_1) && ((e.getModifiers() & KeyEvent.CTRL_MASK) != 0)) {
             	System.exit(0);
             }
         }

		@Override
		public void keyReleased(KeyEvent e) {}
		
	}

